package com.example.zk1.bean;


import com.flyco.tablayout.listener.CustomTabEntity;

public class CommBean implements CustomTabEntity {
    private String title;
    private int select;
    private int unselect;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getSelect() {
        return select;
    }

    public void setSelect(int select) {
        this.select = select;
    }

    public int getUnselect() {
        return unselect;
    }

    public void setUnselect(int unselect) {
        this.unselect = unselect;
    }

    @Override
    public String toString() {
        return "CommBean{" +
                "title='" + title + '\'' +
                ", select=" + select +
                ", unselect=" + unselect +
                '}';
    }

    public CommBean(String title, int select, int unselect) {
        this.title = title;
        this.select = select;
        this.unselect = unselect;
    }

    public CommBean() {
    }

    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return select;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unselect;
    }
}
